<template>
  <div>
    <el-form :inline="true" :model="cform" class="demo-form-inline">
      <el-form-item label="姓名">
        <el-input v-model="cform.name" placeholder="姓名"></el-input>
      </el-form-item>
      <el-form-item label="电话">
        <el-input v-model="cform.phone" placeholder="电话号码"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">添加</el-button>
      </el-form-item>
    </el-form>

  </div>
</template>

<script>
export default {
  name: "createSCRW",
  data(){
    return{
      cform :{
        name:'',
        phone:''
      }

    }
  },
  methods:{
    onSubmit(){

    }
  }
}
</script>

<style scoped>

</style>
